package org.example.service.impl;

import org.example.entity.home_carousel;
import org.example.mapper.home_carouselMapper;
import org.example.service.home_carouselSerive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class home_carouselSeriveImpl implements home_carouselSerive {
@Autowired
private home_carouselMapper home_carouselMapper;
    @Override
    public List<home_carousel> getBanner(home_carousel homeCarousel) {
        List<home_carousel> banner = home_carouselMapper.getBanner(homeCarousel);
        return banner;
    }
}
